package org.watchrecords.util;

import java.text.DateFormat;
import java.text.SimpleDateFormat;

public class FormatHelper {
    private static final DateFormat DATE_FORMAT = new SimpleDateFormat("dd/MM/yyyy");
    private static final DateFormat TIME_FORMAT = new SimpleDateFormat("HH:MM");
    private static final DateFormat DATE_TIME_FORMAT = new SimpleDateFormat("dd/MM/yyyy HH:mm");
    
    public static DateFormat getDateFormat() {
        return DATE_FORMAT;
    }
    
    public static DateFormat getTimeFormat() {
        return TIME_FORMAT;
    }
    
    public static DateFormat getDateTimeFormat() {
        return DATE_TIME_FORMAT;
    }
}
